package com.gzz.orchid.common.boot.mybatis.dialect;

/**
 * 方言工厂
 *
 * @author higmd
 */
public class DialectFactory {
    public static IDialect build(String type) {
        if ("ORACLE".equalsIgnoreCase(type)) {
            return new OracleDialect();
        } else {
            return new MySqlDialect();
        }
    }
}
